package com.huyn.baseframework.dynamicload.video;

import com.huyn.baseframework.model.ChannelDetail;

/**
 * Created by huyaonan on 16/9/22.
 */
public interface IPlayController {

    public void onProgressChanged(ISeekable seekBar, int progress, boolean fromUser, boolean freshCardList);
    public void onLocateProgress(int progress);
    public void onUpdateToolState(boolean visible);
    public void finish();
    public void reverseFromFullScreen();
    public void pause();
    public void pauseWhenFreeze();
    public void start();
    public void hidePauseAD();
    public void showPauseAD();
    public boolean isSoundOn();
    public void manageSound(boolean open);
    public void removeHideMessage();
    public void sendHideMessage();
    public boolean onBack();
    public void doLogin();
    public void updatePlay(long target);
    public void rescheduleHideMessage();
    public void hideToolsBar();
    public void clearHideMsg();
    public void hideGoods();
    public void manageFlingEvent(boolean canFling);
    public void changeDefinition(String des, int type);
    public void showScaleGuide();
    public boolean isVrMode(boolean onMajorVideo);
    public int switchInteractiveMode();
    public int switchDisplayMode();
    public void hideCart();
    public void clearHandlerMsg();
    public boolean isDanmuOn();
    public void hideDanmu();
    public void showDanmu();
    public void resumeDanmu();
    public void pauseDanmu();
    public void sendDanmu(String content, String videoId, int progress);
    public void manageMessageProgress(long current);
    public boolean isLowExperience();
    public boolean shouldRequestStoragePermission();
    public void onBufferingStartEvent();
    public void onBufferingEndEvent();
    public void switchVideo(ChannelDetail channelDetail);

}
